package top.fwpsl.scalaobject

import top.fwpsl.java.JavaDemo

/**
  *
  * @author 风戏fw
  * @date 2020/11/24
  */
object ScalaObjectDemo {
  println("hello fw i miss you very much");

  def say(name:String){
    println(name)
  }

  /**
    * 先去调用java方法
    * @return
    */
  def say3(): Int ={
    println("这里是scala的方法了")
    var tmp=JavaDemo.say2("4");
    println(tmp);
    tmp
  }

}
